package com.example.dialog_type;

import android.content.Context;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatDialog;

/**
 * @Description
 * @Author xudan
 * @CreateTime 2024/5/10
 */
public class MyCompatDialog extends AppCompatDialog {
    public MyCompatDialog(@NonNull Context context) {
        super(context);
        setContentView(R.layout.mycompat_dialog_layout);
    }

    public MyCompatDialog(@NonNull Context context, int theme) {
        super(context, theme);
    }

    protected MyCompatDialog(@NonNull Context context, boolean cancelable, @Nullable OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }
}
